<?php
	if(isset($_POST["pass"]) & isset($_POST["passRep"])) {
		$pass = $_POST["pass"];
		$passRep = $_POST["passRep"];
		if($pass != $passRep) {
			echo "<span style='color:red'>Passwords does not match!</span>";
		}
	}
?>